<?php
require_once BASEPATH."lib/MCore/Controller/Action/Admin.php";
require_once BASEPATH . "application/news/models/News.php";

/**
 *
 *
 */
class Admin_PainelController extends MCore_Controller_Action_Admin
{
	/** public function init() {{{
	 *
	 *
	 */
	public function init()
	{
		$this->request = $this->_request->getParams();

	}
	/*}}}*/

	/*public function indexAction() {{{
	 *
	 *
	 */
	public function indexAction()
	{
		$this->render();
	}
	/*}}}*/

	/*public function painelAction() {{{
	 *
	 *
	 */
	public function painelAction()
	{
		$news = new News();

		$this->view->totalNoticias = $news->count();

		$this->render();
	}
	/*}}}*/

	/*public function desativadoAction() {{{
	 *
	 *
	 */
	public function desativadoAction()
	{
		$this->render();
	}
	/*}}}*/


}
?>
